import request from '../utils/request'
export function Goods (id) {
  return request({
    url: '/goods',
    params: {
      id
    }
  })
}
// 城市数据
export function getCityInfo () {
  return request({
    url:
      'https://yjy-oss-files.oss-cn-zhangjiakou.aliyuncs.com/tuxian/area.json'
  })
}
// 同类商品推荐
export function goodsRelevant (params) {
  return request({
    url: '/goods/relevant',
    params
  })
}
// 热门推荐

export function goodsHot (params) {
  return request({
    url: '/goods/hot',
    params
  })
}
